package com.server.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 用户角色关联(SysAdminRole)表实体类
 *
 * @author zgr
 * @since 2023-07-18 12:29:48
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_admin_role")
@ApiModel(value = "SysAdminRole对象", description = "角色表")
public class SysAdminRole extends BaseEntity {

    private static final long serialVersionUID = 6368640413566581314L;

    /**
     * 管理员id
     */
    @ApiModelProperty("管理员id")
    @TableField("admin_id")
    private Long adminId;
    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    @TableField("role_id")
    private Long roleId;

}

